package com.boot.system.dto;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 系统用户
 *
 * @author yangfan
 * @date 2023-12-25 20:53:34
 */
@Data

@Schema(description = "系统用户")
public class SysUserDTO implements Serializable {


    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private String userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String password;

    /**
     * 盐值
     */
    @Schema(description = "盐值")
    private String salt;

    /**
     * 电话号码
     */
    @Schema(description = "电话号码")
    private String phone;

    /**
     * 头像
     */
    @Schema(description = "头像")
    private String avatar;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String realName;

    /**
     * 邮箱地址
     */
    @Schema(description = "邮箱地址")
    private String email;

    /**
     * 所属部门ID
     */
    @Schema(description = "所属部门ID")
    private String deptIds;

    /**
     * 角色ID集合
     */
    @Schema(description = "角色ID集合")
    private String roleIds;

    /**
     * 锁定标记，0未锁定，9已锁定
     */
    @Schema(description = "锁定标记，0未锁定，9已锁定")
    private String lockFlag;

    /**
     * 微信登录openId
     */
    @Schema(description = "微信登录openId")
    private String wxOpenId;

    /**
     * 小程序openId
     */
    @Schema(description = "小程序openId")
    private String miniOpenid;

    /**
     * QQ openId
     */
    @Schema(description = "QQ openId")
    private String qqOpenid;

    /**
     * 码云标识
     */
    @Schema(description = "码云标识")
    private String giteeLogin;

    /**
     * 开源中国标识
     */
    @Schema(description = "开源中国标识")
    private String oscId;
}